﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;

namespace PMS.Web
{
    public partial class ProjectList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PMS_User user = PageComm.GetUser(this.Response);
                if (PageComm.IsEdit(BLL.ActionMenu.Project, user.role))
                {
                    btn_Add.Visible = true;
                }
                this.ClientScript.RegisterStartupScript(GetType(), "msg", "<script>GetList('0');</script>");
            }
        }

    }
}